package com.ruoyi.project.visit.service;

import com.ruoyi.project.visit.domain.DoctorPatientHistory;

import java.util.List;

/**
 * 历史病例服务接口
 */
public interface IDoctorPatientHistoryService {
    /**
     * 新增病例
     * @param doctorPatientHistory
     * @return
     */
    int insertDoctorPatientHistory(DoctorPatientHistory doctorPatientHistory);

    /**
     * 修改病例
     * @param doctorPatientHistory
     * @return
     */
    int updateDoctorPatientHistory(DoctorPatientHistory doctorPatientHistory);

    /**
     * 主键查询病例
     * @param historyId
     * @return
     */
    DoctorPatientHistory selectByHistoryId(Integer historyId);

    /**
     * 根据患者主键，分页查询历史病例
     * @param doctorPatientHistory
     * @return
     */
    List<DoctorPatientHistory> selectListByPatientId(DoctorPatientHistory doctorPatientHistory);
}
